﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.OpenAccess;
using Telerik.OpenAccess.FetchOptimization;

namespace TravelAgencyAspNet.Agents
{
    public partial class ViewTrips : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            FetchStrategy strategy = new FetchStrategy();
            strategy.LoadWith<TravelAgencyDAL.Trip>(t => t.Photo);            
        }
    }
}